# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(TextEditToolBar)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(TextEditToolBar_SRCS textEditToolBarPlugin.cpp)
QT4_WRAP_CPP(TextEditToolBar_SRCS textEditToolBarPlugin.h)

add_library(TextEditToolBar SHARED ${TextEditToolBar_SRCS})
add_dependencies(TextEditToolBar KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(TextEditToolBar KontAMabil ${QT_LIBRARIES})

install(TARGETS TextEditToolBar DESTINATION "${QT_PLUGINS_DIR}/designer" LIBRARY)
install(TARGETS TextEditToolBar ${INSTALL_DESIGNER_PLUGINS_DEFAULT_ARGS} )
